package Test1;

public class Animal {

    String name;
    int age;
    String gender;

    public void eat() {
        System.out.println(this.name + "正在吃...");
    }
    public void sleep() {
        System.out.println(this.name + "正在睡觉...");
    }
}
